package zry.User.Teacher;

import lombok.Data;

@Data
public class Teacher {
    private String t_id;
    private String t_password;
    private String t_name;

    public Teacher() {
    }

    public Teacher(String teacher_id, String teacher_password, String teacher_name) {
        this.t_id = teacher_id;
        this.t_password = teacher_password;
        this.t_name = teacher_name;
    }

    @Override
    public String toString() {
        return t_name + "(" + t_id + ")";
    }
}
